package io.awen.modules.sign.controller;

import io.awen.common.utils.PageUtils;
import io.awen.common.utils.R;
import io.awen.modules.sign.qo.SignCarQo;
import io.awen.modules.sign.service.SignCarSpeedingWarningService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;


/**
 * 车辆超速报警信息记录表
 */
@RestController
@RequestMapping("sign/signCarSpeedingWarning")
public class SignCarSpeedingWarningController {
    @Autowired
    private SignCarSpeedingWarningService signCarSpeedingWarningService;

    /**
     * 分页查询
     */
    @RequestMapping("/list") //sign/signCarSpeedingWarning/list
    public R list(@RequestBody SignCarQo qo){
        PageUtils page = signCarSpeedingWarningService.queryPage(qo);
        return R.ok().put("page", page);
    }


}
